#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

#define RESERVE(n)  ((((n) & 0x55555555) << 1) | ((n) & 0xaaaaaaaa) >> 1)
int main()
{
	printf("%d\n", RESERVE(13));
	return 0;
}